var logo : GUITexture;
var startButton : GUITexture;
var total_times = 100;
var times = total_times;
var speed = 1;
var start = false;

function Update () {
	if (start) {
		if (times > 0) {
			logo.transform.position.y = logo.transform.position.y + speed * 0.01;
			logo.color.a = logo.color.a - 1.0 / total_times;
			startButton.transform.position.y = startButton.transform.position.y - speed * 0.01;
			startButton.color.a = startButton.color.a - 1.0 / total_times;
			times--;
		} else {
			Application.LoadLevel("levelOne");
		}
	}
}